projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc93761
)
(fatal_unexec): Don't use varargs.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 11 Nov 1995 20:27:37 +0000
(20:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 11 Nov 1995 20:27:37 +0000
(20:27 +0000)
src/unexalpha.c
patch
|
blob
|
history
diff --git
a/src/unexalpha.c
b/src/unexalpha.c
index e71d11e0fe25d49ee58615ccecf4b4c6aad56bc3..ac9482d86bd3299e83095fdb63eb8b3de26b7dd2 100644
(file)
--- a/
src/unexalpha.c
+++ b/
src/unexalpha.c
@@
-432,17
+432,15
@@
mark_x (name)
}
static void
-fatal_unexec (s,
va_alist
)
- char *s;
- va_dcl
+fatal_unexec (s,
arg
)
+
char *s;
+ char *arg;
{
- va_list ap;
if (errno == EEOF)
fputs ("unexec: unexpected end of file, ", stderr);
else
fprintf (stderr, "unexec: %s, ", strerror (errno));
- va_start (ap);
- vfprintf (stderr, s, ap);
+ fprintf (stderr, s, arg);
fputs (".\n", stderr);
exit (1);
}